package win.ganbo.softwareFive.controller;

import javax.servlet.http.HttpSession;

import win.ganbo.softwareFive.domain.LoginToken;
import win.ganbo.softwareFive.utils.ConstantConfig;

public class BaseController {

    public LoginToken getLoginUser(HttpSession session) {
        return (LoginToken) session.getAttribute(ConstantConfig.USER_IN_SESSION);
    }
}
